<%@ page contentType="text/html; charset=gb2312"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<c:if test="${empty tree||tree<0}">
	<c:set var="tree" value="0" scope="request"/>
</c:if>
<c:forEach var="topClasses" items="${pindaoList}" varStatus="idx">
	<c:if test="${topClasses.id!=id}">
		<option value="${topClasses.id}" <c:if test="${topClasses.id==pindaoid}">selected</c:if>><c:forEach begin="1" end="${tree}">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</c:forEach>${topClasses.name}</option>
		<c:if test="${fn:length(topClasses.subPindaoList)>0}">
			<c:set var="tree" value="${tree+1}" scope="request"/>
	 		<c:set var="pindaoList" value="${topClasses.subPindaoList}" scope="request"/>
	 		<jsp:include page="clslist.jsp"/>
 		</c:if>
	</c:if>
</c:forEach>
<c:set var="tree" value="${tree-1}" scope="request"/>
